package com.linzp.bishe.model;

import com.linzp.bishe.entity.DisciplineCompetition;
import com.linzp.bishe.entity.Participants;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @ClassName DisciplineCompetitionModel
 * @Description 描述
 * @Author LinZePeng
 * @Date 2022/2/9 16:59
 * @Version 1.0
 */
@Data
public class DisciplineCompetitionModel {
	private Integer id;

	private String competitionName;

	private String workName;

	private String competitionLevel;

	private String awardLevel;

	private String awardSource;

	private LocalDateTime awardTime;

	private String inputPeople;

	private String participatingStudents;

	private String major;

	private String certificate;

	private String status;

	private Integer userId;

	private List<Participants> participants;

	public DisciplineCompetition getDisciplineCompetition(){
		return new DisciplineCompetition(id,competitionName,workName,competitionLevel,
				awardLevel,awardSource,awardTime,inputPeople,participatingStudents,major,certificate,
				status,userId);
	}
}
